package com.cxm.helper.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @author chenximeng
 * @TableName config
 */
@TableName(value ="config")
@Data
public class Config implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 是父级吗1.是0.不是
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer isParent;

    /**
     * 父级id
     */
    private Long parentId;

    /**
     * 配置名称
     */
    private String configName;

    /**
     * 值
     */
    private String configValue;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人id
     */
    private Long createUser;

    /**
     * 逻辑删除默认0，1.已经删除
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}